﻿@model _8_21_Homework.Models.Post

@{
    ViewBag.Title = "LeaveComment";
}
<div class="row table-bordered">
    <div class="col-md-4">
        <h1 class="jumbotron">@Model.Title</h1>
    </div>
    <div class="col-md-6 text-center">
        <br /><br /><br />
        <div class="row">
            @Model.Body
        </div>
    </div>
</div>

<h2>Leave A Comment</h2>
<form method="post">
    <div class="col-md-6">
        <div>
            Your Name:<input type="text" class="form-control" name="userName" placeholder="Enter Name" />
        </div>
        <div>
            Your Comment:<textarea name="commentText" class="form-control" style="height:150px;width:300px"></textarea>
        </div><br />
        <input class="hidden" name="id" value="@Model.ID" />
        <input type="submit" class="btn btn-success pull-right" value="Submit Comment" />
    </div>
</form>
